package org.ax.pojo.sys;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.util.List;

@TableName("sys_user")
@Data
public class User implements Serializable {

	private static final long serialVersionUID =  4243566939464934511L;

	/**
	 * 主键
	 */
	@TableId
	private String id;

	private String email;
	private String img;
	private String style;
	/**
	 * 姓名
	 */
	private String username;

	/**
	 * 密码
	 */
	private String password;

	private String verifyimg;

	/**
	 * 账号是否锁定，1：锁定，0未锁定
	 */
	private String locked;

	@TableField(exist = false)
	private Role role;
	@TableField(exist = false)
	private List<Permission> permissionList;


}
